<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="webapps/styles/table_dis.css" />
<script type="text/javascript" src="webapps/scripts/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	//添加颜色变化
	$("#tab tr").hover(function(){$(this).css("background","#DEEBFC");},function(){$(this).css("background","#FFF");});
	//进行客户端数据验证
	$("#addBroadcastCategory").submit(function(){
		var broadcastCategoryName = $(":input#categoryName").val();
		if(broadcastCategoryName == ""){
			alert("类别名称不能为空！");
			return false;
		}
		return true;
	});
});
</script>
<title><{$title}></title>
</head>

<body>
<form id="addBroadcastCategory" action="index.php?controller=admin&action=addBroadcastCategoryAction" method="post">
<table width="100%" cellpadding="1" cellspacing="1" border="0" id="tab">
  <tr>
    <th colspan="2" style="background-color:#4F9AD0;"><{$title}></th>
  </tr>
  <tr>
    <td style="width:80px;">类别名称</td>
    <td><input type="text" id="categoryName" name="categoryName" style="width:160px;" /> 
            <span style="color:#933;">*类别名必须，最好四个中文字</span></td>
  </tr>
  <tr>
    <td colspan="2" style="padding-left:92px;"><input type="submit" name="submit" value="提交" /> <input type="reset" name="reset" value="重置" /></td>
  </tr>
</table>
</form>
</body>
</html>
